#ifndef UNITY_CONFIG_H
#define UNITY_CONFIG_H

// This file gets included from unity.h via unity_internals.h
// It is inside #ifdef __cplusplus / extern "C" block, so we can
// only use C features here

#include <stdint.h>
#include <stddef.h>

#define UNITY_INCLUDE_FLOAT
#define UNITY_INCLUDE_DOUBLE
//#define UNITY_OUTPUT_COLOR

//#ifdef CONFIG_UNITY_ENABLE_FLOAT
//#define UNITY_INCLUDE_FLOAT
//#else
//#define UNITY_EXCLUDE_FLOAT
//#endif //CONFIG_UNITY_ENABLE_FLOAT
//
//#ifdef CONFIG_UNITY_ENABLE_DOUBLE
//#define UNITY_INCLUDE_DOUBLE
//#else
//#define UNITY_EXCLUDE_DOUBLE
//#endif //CONFIG_UNITY_ENABLE_DOUBLE
//
//#ifdef CONFIG_UNITY_ENABLE_COLOR
//#define UNITY_OUTPUT_COLOR
//#endif

#define UNITY_EXCLUDE_TIME_H

extern void unitTestPortPutChar(int c);
extern void unitTestPortFlush(void);
extern void unitTestPortGetStr(char *dst, size_t len);
extern void unitTestPortExecTimeStart(void);
extern void unitTestPortExecTimeStop(void);
extern uint32_t unitTestPortExecTimeGetMs(void);

#define UNITY_OUTPUT_CHAR(a)    unitTestPortPutChar(a)
// #define UNITY_OUTPUT_FLUSH()    unity_flush()
// #define UNITY_EXEC_TIME_START() unity_exec_time_start()
// #define UNITY_EXEC_TIME_STOP()  unity_exec_time_stop()
// #define UNITY_EXEC_TIME_MS()    unity_exec_time_get_ms()

#endif //UNITY_CONFIG_H
